import { PLATFORM } from "@/utils/tool.js"

export default {
	computed: {
		statusBarHeight_() {
			if (PLATFORM.isH5) return uni.rpx2px(88) + 'px'
			const systemInfo = uni.getSystemInfoSync()
			return systemInfo.statusBarHeight + "px"
		},
		statusBarHeightStyle() {
			return {
				"--status-height-value": this.statusBarHeight_
			}
		},
	}
}